package shuai.model;

import java.math.BigDecimal;


/**
 * Orderbook entity. @author MyEclipse Persistence Tools
 */

public class Orderbook  implements java.io.Serializable {


    // Fields    

     private BigDecimal id;
     private Orders orders;
     private BigDecimal bookid;
     private String quantity;
     private String unitprice;


    // Constructors

    /** default constructor */
    public Orderbook() {
    }

    
    /** full constructor */
    public Orderbook(Orders orders, BigDecimal bookid, String quantity, String unitprice) {
        this.orders = orders;
        this.bookid = bookid;
        this.quantity = quantity;
        this.unitprice = unitprice;
    }

   
    // Property accessors

    public BigDecimal getId() {
        return this.id;
    }
    
    public void setId(BigDecimal id) {
        this.id = id;
    }

    public Orders getOrders() {
        return this.orders;
    }
    
    public void setOrders(Orders orders) {
        this.orders = orders;
    }

    public BigDecimal getBookid() {
        return this.bookid;
    }
    
    public void setBookid(BigDecimal bookid) {
        this.bookid = bookid;
    }

    public String getQuantity() {
        return this.quantity;
    }
    
    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getUnitprice() {
        return this.unitprice;
    }
    
    public void setUnitprice(String unitprice) {
        this.unitprice = unitprice;
    }
   








}